<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>学习 JavaScript</title>
</head>
<body>


<input type="button" value="红色" onclick="color()">


<script src="js/script.js"></script>
</body>
</html>